package com.example.manu_facturer_orders.service.impl;

import cn.hutool.core.bean.BeanUtil;
import com.alibaba.nacos.shaded.com.google.protobuf.ServiceException;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.example.manu_facturer_orders.mapper.BrandMapper;
import com.example.manu_facturer_orders.pojo.BrandVO;
import com.example.manu_facturer_orders.service.BrandService;
import commons.Constants;
import commons.Result;
import net.sf.jsqlparser.util.validation.metadata.NamedObject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import pojo.User;

import java.util.List;

import static net.sf.jsqlparser.util.validation.metadata.NamedObject.user;

/**
 * @author: tobed
 * @date: 2022/9/11
 * @time: 19:52
 */
@Service
public class BrandServiceImpl implements BrandService {

    @Autowired
    BrandMapper brandMapper;

    @Override
    public List<BrandVO> listByManuFactuerId(Integer id) {
        List<BrandVO> brandVOS = brandMapper.listByManuFactuerId(id);
        return brandVOS;
    }


    }
